package cn.hk.message.mapper;

import cn.hk.message.domain.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;

import java.util.List;

/**
 * <p>
 * 消息推送信息表 Mapper 接口
 * </p>
 *
 * @author xu
 * @since 2023-03-08
 */
@DataSource(DataSourceType.KELIN)
public interface MessageMapper extends BaseMapper<Message> {

    List<Message> selectListByMessageId(Long messageId);

    List<Message> selectIndexMessageList();

    Message selectOneByMessageId(Long messageId);
}
